package com.thinkTank.oa.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkTank.oa.base.BaseServiceImpl;
import com.thinkTank.oa.dao.OperationlogMapper;
import com.thinkTank.oa.entity.Operationlog;
import com.thinkTank.oa.service.OperationlogService;

@Transactional
@Service("operationlogService")
public class OperationlogServiceImpl extends BaseServiceImpl<Operationlog> implements OperationlogService {
	private OperationlogMapper operationlogMapper;
	
	@Autowired
	public void setOperationlogMapper(OperationlogMapper operationlogMapper) {
		this.operationlogMapper = operationlogMapper;
		setBaseMapper(operationlogMapper);
	}
	
	@Override
	public List<Map<String, String>> statisticsCount(String beginDate, String endDate, List<String> operaList) {
		return operationlogMapper.statisticsCount(beginDate, endDate, operaList);
	}
}
